package com.etone.system.domain;


import java.util.Objects;

public class TurnoverInventory {
    private Long id;
    private String cangweiNo;
    private String wuliaoNo;
    private String huojiaNo;
    private String createTime;
    private String createBy;
    private String updateTime;
    private String updateBy;
    private Long deleted;
    private int status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCangweiNo() {
        return cangweiNo;
    }

    public void setCangweiNo(String cangweiNo) {
        this.cangweiNo = cangweiNo;
    }

    public String getWuliaoNo() {
        return wuliaoNo;
    }

    public void setWuliaoNo(String wuliaoNo) {
        this.wuliaoNo = wuliaoNo;
    }

    public String getHuojiaNo() {
        return huojiaNo;
    }

    public void setHuojiaNo(String huojiaNo) {
        this.huojiaNo = huojiaNo;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Long getDeleted() {
        return deleted;
    }

    public void setDeleted(Long deleted) {
        this.deleted = deleted;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        TurnoverInventory that = (TurnoverInventory) o;
        return status == that.status && Objects.equals(id, that.id) && Objects.equals(cangweiNo, that.cangweiNo) && Objects.equals(wuliaoNo, that.wuliaoNo) && Objects.equals(huojiaNo, that.huojiaNo) && Objects.equals(createTime, that.createTime) && Objects.equals(createBy, that.createBy) && Objects.equals(updateTime, that.updateTime) && Objects.equals(updateBy, that.updateBy) && Objects.equals(deleted, that.deleted);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, cangweiNo, wuliaoNo, huojiaNo, createTime, createBy, updateTime, updateBy, deleted, status);
    }
}
